export class CreateInput {

    _element = null;

    constructor(element = "input") {
        this.init(element);
    }

    //========================== 内部属性 ==========================

    get element() {
        return this._element;
    }

    set element(value) {
        this._element = value;
    }

    //========================== 属性方法 ==========================

    getElement() {
        return this.element;
    }

    setElement(value) {
        this.element = value;
    }

    init(element) {
        this._element = document.createElement(element);
        this.element.placeholder = "";
    }
}
